home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Resources
/
Chat & Communication
/
Digsby build 37
/
digsby_setup.exe
/
lib
/
M2Crypto
/
SSL
/
timeout.pyo
(
.txt
)
< prev
Wrap
Python Compiled Bytecode
|
2008-10-13
|
971b
|
24 lines
# Source Generated with Decompyle++
# File: in.pyo (Python 2.5)
import struct
from M2Crypto import m2
DEFAULT_TIMEOUT = 600
class timeout:
def __init__(self, sec = DEFAULT_TIMEOUT, microsec = 0):
self.sec = sec
self.microsec = microsec
def pack(self):
return struct.pack('ll', self.sec, self.microsec)
def struct_to_timeout(binstr):
(s, ms) = struct.unpack('ll', binstr)
return timeout(s, ms)